package dao;

import java.util.List;

import domain.Suggest;


/**
 * Suggest管理Dao
 * 
 * May 9, 2009
 *
 * @author Fabian
 *
 */
public interface SuggestMagDao {
	/**
	 * 获取一页的Suggest 
	 */
	public List<Suggest> getPageSuggest(int start, int limit);
	/**
	 * 获取所有的Suggest记录数
	 */
	public int getTotalCount();
	/**
	 * 添加Suggest
	 * @param t
	 * @return
	 */
	public boolean addSuggest(Suggest s);
	/**
	 * id表示的Suggest
	 * @return
	 */
	public boolean delSuggest(int id);
}
